import { Component, OnInit } from '@angular/core';
// import React from 'react';
// import Generator from 'fr-generator';

const defaultValue = {
  type: 'object',
  properties: {
    inputName: {
      title: '简单输入框',
      type: 'string',
    },
  },
};
const Demo = () => {
  return `(
    <div style={{ height: '80vh' }}>
      <Generator defaultValue={defaultValue} />
    </div>
  );`
};

@Component({
  selector: 'app-react-form',
  templateUrl: './react-form.component.html',
  styleUrls: ['./react-form.component.less']
})
export class ReactFormComponent implements OnInit {

  constructor() { }

  ngOnInit(): void {
  }

}
